package cn.luow.mail;

import cn.luow.mail.config.MailConfig;
import cn.luow.mail.interceptor.MagicApiLogInterceptor;
import cn.luow.mail.service.imel.MailServiceImpl;
import org.springframework.context.annotation.Import;
import org.ssssssss.magicapi.core.config.MagicPluginConfiguration;
import org.ssssssss.magicapi.core.model.Plugin;

@Import({MailServiceImpl.class, MailConfig.class, MagicApiLogInterceptor.class})
public class MaigcMailConfiguration implements MagicPluginConfiguration {

    @Override
    public Plugin plugin() {
        return new Plugin("mail");
    }
}
